/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package String;

/**
 *
 * @author Jhonatan
 */
public class string2 {
public static void main(String[] args) {

  String x = new String("hola");
  String z = new String("waaa");

        System.out.println("compara si dos cadenas son iguales o no:\n"+x.equals(z));

}



}
